/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package project.jsf.beans;

import com.ocpsoft.pretty.faces.annotation.URLMapping;
import java.io.Serializable;
import javax.faces.bean.ViewScoped;
import javax.faces.bean.ManagedBean;


/**
 *
 * @author armdev
 */
@ManagedBean(name = "TestBean")
@ViewScoped
//@URLMapping(id = "testBean", pattern = "/store/#{TestBean.category }/", viewId = "/next.jsf")
@URLMapping(id = "testBean", pattern = "/store/mystore/", viewId = "/next.jsf")
public class TestBean implements  Serializable {
    private String category = "VeryBigStore";
    private String mobile="This is mobile application";

    /** Creates a new instance of TestBean */
    public TestBean() {
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }



}
